home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 27 / CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso / CUCD / Programming / BlitzList / BlitzListFiles / NewCommandSet.lha / NewCommandSet_V1.30 / Install < prev    next >
Encoding:
Text File  |  1998-07-28  |  1.9 KB  |  124 lines

  1. ;*
  2. ;* Install Script For NewCommandSet V1.30
  3. ;*  
  4. ;* Done By -> AlphaSOUND <-
  5. ;*
  6.  
  7. (complete 0)
  8.  
  9. ;*** Directory Select ***
  10.  
  11. (complete 10)
  12.  
  13. (set DestDir
  14.   (askdir
  15.     (prompt "Where is localized your BlitzLibs drawer ?")
  16.     (help "")
  17.     (default "BlitzLibs:")
  18.   )
  19. )
  20.  
  21. (set DestDir (expandpath DestDir))
  22. (set NDir (tackon DestDir "NLibs"))
  23.  
  24.  
  25. (set ExampleDir
  26.   (askdir
  27.     (prompt "Where do you want to install the examples files ?")
  28.     (help "")
  29.     (default "Blitz2:")
  30.   )
  31. )
  32.  
  33.  
  34. (set HelpDir
  35.   (askdir
  36.     (prompt "Where do you want to install the help files ?"
  37.             "An drawer 'NHelp' will be created here.")
  38.     (help "")
  39.     (default "Blitz2:")
  40.   )
  41. )
  42.  
  43. (set HelpDir (expandpath HelpDir))
  44. (set HDir (tackon HelpDir "NHelp"))
  45.  
  46.  
  47. (set ExampleDir (expandpath ExampleDir))
  48.  
  49. (makedir NDir)
  50. (makedir HDir (infos))
  51.  
  52. (complete 50)
  53.  
  54. (copyfiles
  55.   (source "Resident")
  56.   (dest DestDir)
  57.   (pattern "NLibs.res")
  58. )
  59.  
  60. (complete 60)
  61.  
  62. (copyfiles
  63.   (source "NLibs")
  64.   (dest NDir)
  65.   (pattern "#?.obj")
  66. )
  67.  
  68.  
  69. (complete 80)
  70.  
  71. (copyfiles
  72.   (source "Examples")
  73.   (dest ExampleDir)
  74.   (pattern "#?.bb2#?")
  75. )
  76.  
  77.  
  78. (complete 90)
  79.  
  80. (copyfiles
  81.   (source "NHelp")
  82.   (dest HDir)
  83.   (pattern "#?")
  84. )
  85.  
  86. (complete 100)
  87.  
  88. (set RunMake (askbool (prompt
  89.  
  90.               "\nThank you to let give a try to this new library set.\n\n"
  91.  
  92.               "The installation is complete and you must now launch the MAKEDEFLIBS program "
  93.               "which is located in your BlitzLibs: drawer.\n\n"
  94.  
  95.               "I can do it for you. Click on 'Run It' to run the MAKEDEFLIBS program or on"
  96.               "'Skip' to skip this part.\n\n"
  97.  
  98.               "Have fun with theses libraries !\n\n"
  99.  
  100.               "Fred -> AlphaSOUND <-")
  101.  
  102.               (help "")
  103.               (choices "Run it !"
  104.                        "Skip it !"
  105.               )
  106.              )
  107. )
  108.  
  109.  
  110. (if (= 1 RunMake)
  111. (
  112.     (working "Makedeflibs is being to update your deflibs...")
  113.     (run ("BlitzLibs:MakeDefLibs"))
  114. ))
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.